package com.design.pattern.structural.bridge;

/**
 * description
 *
 * @author RenQiQiang 2019/03/12 13:48
 */
public class SavingAccount implements Account{

    @Override
    public Account openAccount() {
        System.out.println("打开获取账号");
        return new SavingAccount();
    }

    @Override
    public void showAccountType() {
        System.out.println("这是一个活期账号");
    }
}
